//Proprietaire(idProprio, nom, prenom, adresse, tel)
package beans;

import java.util.*;

public class Proprietaire{
        int idProprio;
        String nom;     
        String prenom;
        String adresse;
        String tel;

        public int getIdProprio(){return idProprio;}
        public String getNom(){return nom;}
        public String getPrenom(){return prenom;}
        public String getAdresse() {return adresse;}
        public String getTel() {return tel;}

        public void setIdProprio(int idProprio){this.idProprio=idProprio;}
        public void setNom(String nom){this.nom=nom;}
        public void setPrenom(String prenom) {this.prenom=prenom;}
        public void setAdresse(String adresse){this.adresse=adresse;}
        public void setTel(String tel) {this.tel=tel;}

        public Proprietaire(){}
        public Proprietaire(int idProprio , String nom, String prenom, String adresse, String tel){
	    setIdProprio(idProprio);setNom(nom);setPrenom(prenom);setAdresse(adresse);setTel(tel);
        }
        public String toString(){
                return idProprio+ "," + nom + "," + prenom + "," + adresse + "," + tel;
        }
}
        
